import serviceAxios from "../index.js"


/*user接口        
*/
export const getUserInfo = (params) => {
    return serviceAxios({
        method: "get",
        url: "",
        params,
    })
}

export const login = (data) => {
    return serviceAxios({
        method: "post",
        url: "/api/v1/user/login",
        data: data,
        contentType: "application/json",
        headers: {
            "Content-Type": "application/json",
        }
    })
}